package com.ruoyi.ring.service;

import java.util.List;
import com.ruoyi.ring.domain.RingBloodOxygenDetail;

/**
 * 血氧详情Service接口
 * 
 * @author liuwp
 * @date 2025-09-03
 */
public interface IRingBloodOxygenDetailService 
{
    /**
     * 查询血氧详情
     * 
     * @param id 血氧详情主键
     * @return 血氧详情
     */
    public RingBloodOxygenDetail selectRingBloodOxygenDetailById(Long id);

    /**
     * 查询血氧详情列表
     * 
     * @param ringBloodOxygenDetail 血氧详情
     * @return 血氧详情集合
     */
    public List<RingBloodOxygenDetail> selectRingBloodOxygenDetailList(RingBloodOxygenDetail ringBloodOxygenDetail);

    /**
     * 根据业务主键查询一条记录：血氧详情
     *
     * @param ringBloodOxygenDetail 血氧详情
     * @return 血氧详情
     */
    public RingBloodOxygenDetail selectOneRingBloodOxygenDetail(RingBloodOxygenDetail ringBloodOxygenDetail);

    /**
     * 新增血氧详情
     * 
     * @param ringBloodOxygenDetail 血氧详情
     * @return 结果
     */
    public int insertRingBloodOxygenDetail(RingBloodOxygenDetail ringBloodOxygenDetail);

    /**
     * 修改血氧详情
     * 
     * @param ringBloodOxygenDetail 血氧详情
     * @return 结果
     */
    public int updateRingBloodOxygenDetail(RingBloodOxygenDetail ringBloodOxygenDetail);

    /**
     * 修改血氧详情
     *
     * @param ringBloodOxygenDetail 血氧详情
     * @param ringBloodOxygenDetail 血氧详情条件
     * @return 结果
     */
    public int updateRingBloodOxygenDetailCondition(RingBloodOxygenDetail ringBloodOxygenDetail, RingBloodOxygenDetail ringBloodOxygenDetailCondition);

    /**
     * 批量删除血氧详情
     * 
     * @param ids 需要删除的血氧详情主键集合
     * @return 结果
     */
    public int deleteRingBloodOxygenDetailByIds(Long[] ids);

    /**
     * 删除血氧详情信息
     * 
     * @param id 血氧详情主键
     * @return 结果
     */
    public int deleteRingBloodOxygenDetailById(Long id);

    /**
     * 条件删除血氧详情
     *
     * @param ringBloodOxygenDetail 血氧详情
     * @return 结果
     */
    public int deleteRingBloodOxygenDetailByCondition(RingBloodOxygenDetail ringBloodOxygenDetail);
}
